<%@ taglib prefix="sec"
	uri="http://www.springframework.org/security/tags"%>

<html>
<head>
</head>
<body>

<center>
<h2>Welcome to Web CheatSheets</h2>
<br>
<sec:authorize ifAnyGranted="ROLE_USER"> You are logged in as '<sec:authentication property="name" />' <a href='j_spring_security_logout'>[Logout]</a>
</sec:authorize> <sec:authorize ifNotGranted="ROLE_USER"> You are not logged in <a
		href='spring_security_login'>Login</a>
	<a href='registrationForm.htm'>Registration</a>
</sec:authorize>
</center>

<h3>CheatSheet Profiles</h3>
<ul>
	<li>Java Core <sec:authorize ifAnyGranted="ROLE_USER"> [edit] </sec:authorize>
	</li>
	<li>Spring Framework <sec:authorize ifAnyGranted="ROLE_USER"> [edit] </sec:authorize>
	</li>
	<li>Hibernate Framework <sec:authorize ifAnyGranted="ROLE_USER"> [edit] </sec:authorize>
	</li>
	<sec:authorize ifAnyGranted="ROLE_USER">
		<li>[Add new]</li>
	</sec:authorize>
</ul>


</body>
</html>
